<script>
export default {
  name: 'ScreenBottom'
}
</script>
<script setup>
// 左边三个
import People from './people/index.vue'
import Gender from './gender/index.vue'
import Age from './age/index.vue'
// 中间两个
import Map from './map/index.vue'
import Trendtrend from './trendtrend/index.vue'
// 右边三个
import Rank from './rank/index.vue'
import Traffic from './traffic/index.vue'
import Statistics from './statistics/index.vue'
</script>

<template>
  <div class="box">
    <div class="left">
      <People height="40%" />
      <Gender height="30%" />
      <Age height="30%" />
    </div>

    <div class="center">
      <Map height="75%" />
      <Trendtrend height="25%" />
    </div>
    <div class="right">
      <Rank height="40%" />
      <Traffic height="30%" />
      <Statistics height="30%" />
    </div>
  </div>
</template>

<style scoped lang="scss">
.box {
  display: flex;
  padding-top: 10px;

  .left {
    position: relative;
    width: 25%;
    height: 100%;
    padding: 0 40px;
    display: flex;
    flex-direction: column;

    & > :nth-child(2) {
      margin: 10px 0;
    }
  }
  .center {
    position: relative;
    width: 50%;
    height: 100%;

    display: flex;
    flex-direction: column;
  }
  .right {
    position: relative;
    width: 25%;
    height: 100%;
    padding: 0 40px;
    display: flex;
    flex-direction: column;

    & > :nth-child(2) {
      margin: 10px 0;
    }
  }
}
</style>
